package com.wanmait.schedule.mapper;

import com.wanmait.schedule.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 全部课程表 Mapper 接口
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
public interface CourseMapper extends BaseMapper<Course> {
    List<Course> list();
    List<Course> listByTeacherId(Integer id);
    int findCount(Integer id);
}
